home *** CD-ROM | disk | FTP | other *** search
/ Monster Media 1996 #15 / Monster Media Number 15 (Monster Media)(July 1996).ISO / win_utl1 / mbutton.zip / MBUT-DEL.BAT < prev    next >
DOS Batch File  |  1996-05-08  |  698b  |  28 lines

  1. @echo off
  2. if "%1"=="" goto done
  3. if not exist %1\*.* goto done
  4. echo You are about to remove Middle Mouse Button ver 1.9.0
  5. echo from %1.
  6. echo. 
  7. yesno Do you wish to continue with this un-install process
  8. if errorlevel 1 goto YES1
  9. goto DONE
  10. :YES1
  11. echo.
  12. if exist %1\MBUTTON.EXE %1\MBUTTON -uninstall
  13. if exist %1\*.TXT del %1\*.TXT
  14. if exist %1\*.ICO del %1\*.ICO
  15. if exist %1\*.WRI del %1\*.WRI
  16. if exist %1\MBHOOK.DLL del %1\MBHOOK.DLL
  17. if exist %1\MBUTTON.EXE del %1\MBUTTON.EXE
  18. rd %1
  19. echo.
  20. echo Middle Mouse Button ver 1.9.0 has been removed.
  21. echo.
  22. echo You will need to manually delete any program groups
  23. echo or icons which relate to this application.
  24. echo.
  25. pause
  26. :done
  27. EXIT
  28.